package com.she.iiicoursecenter.event.connect.bean;

public class GetItemListBean
{ 
	private int result= 901;
	private String message ="網路異常，請重新操作。";
//	private int error_code = -1;
	private int item_id = -1;
	private String name = "";
	private long time_online=0 ,time_offline=0 ,time_lastmodify=0;

	public GetItemListBean(int item_id,String name,long timeOffline,long timeOnline){
		this.item_id = item_id;
		this.name = name;
		this.time_offline = timeOffline;
		this.time_online = timeOnline;
	}
	
	public GetItemListBean(){
	}
  	
	public void setResult(int result){
		this.result = result;
	}
	
	public int getResult(){
		return result;
	}
	
	public void setMessage(String message){
		this.message = message;
	}
	
	public String getMessage(){
		return message;
	}
	
//	public void setErrorCode(int errorcode){
//		error_code = errorcode;
//	}
//	
//	public int getErrorCode(){
//		return error_code;
//	}
	
	public void setItemId(int itemid){
		item_id = itemid;
	}
	
	public int getItemId(){
		return item_id;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public String getName(){
		return this.name;
	}
	
	public void setTimeOnline(long timeonline){
		time_online = timeonline;
	}
	
	public long getTimeOnline(){
		return time_online;
	}
	
	public void setTimeOffline(long timeoffline){
		time_offline = timeoffline;
	}
	
	public long getTimeOffline(){
		return time_offline;
	}
	
	public void setTimeLastmodify(long timelastmodify){
		time_lastmodify = timelastmodify;
	}
	
	public long getTimeLastmodify(){
		return time_lastmodify;
	}
}